{% extends "myapp/hat.html" %}
{% load crispy_forms_filters %}
{#{% load crispy_forms_filters %}#}
{##}
{% load crispy_forms_tags %}
<style>
    #registration{
        {#margin: 20%;#}
        width: 50%;
    }
</style>

{% block content%}
    <form method="POST" class="form-group" id="registration">
        {% csrf_token %}
        {{ form|crispy }}
        <button type="submit" class="btn btn-success">Регистрация</button>
    </form>

{% endblock content %}
